* {
    user-select: none;
    margin: 0;
    padding: 0;
}

body {
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

img {
    -webkit-user-drag: none;
}

body::-webkit-scrollbar {
    width: 0;
}

/* 主页面 */

#top {
    width: 100%;
    height: 100%;
    background-color: #f5f5f5f2;
    border-radius: 15px;
}

/* 导航栏 */

:root {
    --main-color: #5080ef;
    --nav-item-width: 100px;
    --nav-item-height: 32px;
    --nav-item-border-width: 4px;
}

#title {
    height: 10%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #e9eaedea;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.nav {
    position: relative;
    background: white;
    border-radius: 12px;
    font-size: 0;
    padding: var(--nav-item-border-width);
    z-index: 1;
}

.nav-item {
    width: var(--nav-item-width);
    height: var(--nav-item-height);
    font-size: 14px;
    color: var(--main-color);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: color .3s ease-in-out;
}

.nav>input[type="radio"] {
    width: 0;
    height: 0;
    opacity: 0;
}

.nav>input[type="radio"]:checked+label {
    color: white;
}

.tracker {
    width: var(--nav-item-width);
    height: var(--nav-item-height);
    background: var(--main-color);
    z-index: -1;
    position: absolute;
    left: var(--nav-item-border-width);
    top: var(--nav-item-border-width);
    border-radius: 12px;
    transition: transform .3s ease-in-out;
}

#nav-item-opt-2:checked~.tracker {
    transform: translateX(calc(var(--nav-item-width)));
}

#copy {
    height: 10%;
    position: absolute;
    top: 0;
    left: 5%;
    display: flex;
    color: #000;
    text-decoration: none;
    align-items: center;
}

#icon_container {
    height: 10%;
    position: absolute;
    top: 0;
    right: 5%;
    display: flex;
    color: #000;
    text-decoration: none;
    align-items: center;
}

#icon_container:hover {
    color: red;
    transition: all .3s;
}

/* 主要页面 */

#page {
    height: 90%;
    width: 100%;
}

/* 创建页面 */

.body_page {
    width: 100%;
    height: 100%;
}

#set_bot,
#import_bot {
    width: 100%;
    height: 100%;
}

.content {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
}

.copy,
.form {
    height: 100%;
    display: flex;
    flex-direction: column;
    list-style-type: none;
}

.copy {
    width: 30%;
    align-items: flex-end;
}

.form {
    width: 70%;
    align-items: flex-start;
}

.copy li,
.form li {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 8px;
}

.form li {
    width: 70%;
}

.button {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    height: 50px;
    background-color: #1e6fff;
    border-radius: 8px;
    color: #fff;
    border: none;
    font-size: 1.2rem;
    bottom: 3%;
    cursor: pointer;
}

.button:hover {
    background-color: #4187ff;
    border-radius: 8px;
    transition: all .3s;
}

.button:active {
    background-color: #004bce;
    border-radius: 8px;
    transition: all .3s;
}

/* 文字框 */
.text_space {
    height: 5%;
}

.text {
    height: 100%;
    width: 90%;
    border-radius: 5px;
    padding-left: 5%;
    padding-right: 5px;
    display: block;
    border: 2px solid #929292;
}

/* 单选框 */
.extra_space {
    height: 8%;
}

.radio_body {
    width: 100%;
    height: 100%;
    background-color: #fff;
    border-radius: 8px;
    display: flex;
}

.radio_body>input[type="radio"] {
    width: 0;
    height: 0;
    opacity: 0;
}

.radio {
    width: 45%;
    height: 70%;
    margin: auto;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color .3s ease-in-out, background-color .3s ease-in-out;
}

.radio_body>input[type="radio"]:checked+label {
    color: white;
    background-color: #08baf1da;
}

.text_space_path {
    height: 5%;
}

.readonly {
    background-color: #e9eaedea;
}

.path_button {
    margin: 0 0 0 3%;
    height: 100%;
    width: 25%;
    border-radius: 5px;
    cursor: pointer;
    background-color: #f0f0f0;
    border: 2px solid #929292;
}

.path_button:hover {
    background-color: #fff;
    border-radius: 5px;
    transition: all .3s;
}

.path_button:active {
    background-color: #d5d5d5;
    border-radius: 5px;
    transition: all .3s;
}

.warn::placeholder {
    color: red;
}